/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package vn.webapp.form;

/**
 *
 * @author Tonytran
 */
import java.util.List;
import org.hibernate.validator.constraints.NotEmpty;
import vn.webapp.model.Classes;

/*
 * Using a customization validator
 */

public class StudentValidationForm {

    @NotEmpty
    private String code;
    
    @NotEmpty
    private String name;
    
    private int classId;

    private int id;
    
    public String getCode() {
        return code;
    }
    
    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getClassId() {
        return classId;
    }

    public void setClassId(int classId) {
        this.classId = classId;
    }    
   
}